/*
 * @Author: liaoxin
 * @Date: 2022-05-27 15:39:25
 * @LastEditors: Setsuna
 * @LastEditTime: 2023-05-23 19:06:26
 * @FilePath: \src\apis\AboutQuota\index.ts
 */
export default {
  /* 配额管理 */

  //配额调整 列表
  QuotaAdjustmentList: '/api/v1/quota/mgmt/quotaModify',

  // 调整配额 审核
  SubmitAudit: '/api/v1/quota/mgmt/quotaModify',

  // 配额调整记录
  quotaModifyHistory: '/api/v1/quota/mgmt/quotaModify/history',

  //配额调整导出
  quotaModifyexport: '/api/v1/quota/mgmt/quotaModify/export',

  //获取当前片区的客户
  QuotaModifyAgent: '/api/v1/quota/mgmt/quotaModify/agent',

  //配额转移 目标客户名称:
  QuotaModifyCheck: '/api/v1/quota/mgmt/quotaModify/check',

  // 配额转移 model里面确认按钮
  QuotaModifyChange: '/api/v1/quota/mgmt/quotaModify/change',

  // 配额下达申请单 list
  TransmitRequisition: '/api/v1/quota/mgmt/quotaApply/quotaTransmitRequisition',

  // 销售部配额下达申请单
  saleTransmitRequisition: '/api/v1/quota/mgmt/quotaApply/xgbQuotaTransmitRequisition',

  //配额下达申请单 详情
  QuotaDetailPage: '/api/v1/quota/mgmt/quotaApply/getEffectIssuedQuotaDetailPage',

  //配额调整导入
  QuotaModifyImport: '/api/v1/quota/mgmt/quotaModify/import',

  //分页查询手工盘点库存记录
  queryDealerCheck: '/api/v1/quota/mgmt/checkStock/queryDealerCheckStockDetails',

  // 销售部手工盘点库存记录
  querySaleDealerCheck: '/api/v1/quota/mgmt/checkStock/xgbQueryDealerCheckStockDetails',

  //分页查询手工盘点库存记录展开的详情
  CheckStockListDetail: '/api/v1/quota/mgmt/checkStock/queryDealerCheckStockListDetail',

  //配额下达list--客户维度
  getQuotaTransmit: '/api/v1/quota/mgmt/quotaApply/getQuotaTransmit',

  /** 配额下达列表--片区+客户维度 */
  GetQuotaReleaseListByAreaClient: '/api/v1/quota/mgmt/quotaApply/getQuotaTransmitAreaCus',

  /** 配额下达列表--片区维度 */
  GetQuotaReleaseListByArea: '/api/v1/quota/mgmt/quotaApply/getQuotaTransmitArea',

  /** 配额下达列表--物料分类维度 */
  GetQuotaReleaseListByMatClass: '/api/v1/quota/mgmt/quotaApply/getQuotaTransmitGroupName',

  //获取工作流程模板
  adjustTemplate: '/api/v1/quota/mgmt/quotamodify/workflow/adjust/template',

  // 配额转移审批人工作流模板
  transferTemplate: '/api/v1/quota/mgmt/quotachang/workflow/chang/template',

  //配额转移 关联订单
  getQuotaOrderPage: '/api/v1/quota/dealer/quotaApply/getQuotaOrderPage',

  //审批人列表
  getApprovalProcessOrg: '/api/v1/quota/emp/checkstoc/workflow/roleId',

  //配额下达审批模板
  orgtemplate: '/api/v1/quota/mgmt/workflow/org/template',

  // 配额申请
  getTemplate: '/api/v1/quota/mgmt/workflow/template',

  //配额下达提交审批确定
  quotaTransmit: '/api/v1/quota/mgmt/quotaApply/quotaTransmit',

  //配额导入导出记录
  excelHistory: '/api/v1/quota/mgmt/quotaModify/excelHistory',

  //配额下达申请单明细-物料分类统计
  getMaterialTotal: '/api/v1/quota/mgmt/quotaApply/getMaterialTotal',

  //获取配额关联的库存盘点动销数据
  getCheckStock: '/api/v1/quota/emp/quotaApply/getCheckStock',

  //配额下达导出
  quotaTransmitExport: '/api/v1/quota/mgmt/quotaApply/quotaTransmitExport',

  //配额下达导出--片区+客户维度
  QuotaAreaCusExport: '/api/v1/quota/mgmt/quotaApply/getQuotaTransmitAreaCusExport',

  //配额下达导出--片区维度
  QuotaAreaExport: '/api/v1/quota/mgmt/quotaApply/getQuotaTransmitAreaExport',

  //配额下达导出--物料分类维度
  QuotaMatClassExport: '/api/v1/quota/mgmt/quotaApply/getQuotaTransmitGroupNameExport',

  //配额下达模板下载
  TemplateExport: '/api/v1/quota/mgmt/quotaApply/quotaTransmitTemplateExport',

  //配额下达导入
  quotaTransmitImport: '/api/v1/quota/mgmt/quotaApply/quotaTransmitImport',

  //获取销售组织简称
  getUserBrands: '/api/v1/quota/emp/checkStock/getUserBrands',

  /** 配额下达重新推送 */
  RePushQuotaApply: '/api/v1/quota/thirdParty/pushQuotaApplyIssuedModifyTooAli',

  /* 客户年度总配额控制 */
  // 列表
  CustomerYearQuotaList: '/api/v1/quota/mgmt/commonconfig/quotaYearLimit/getQuotaYearLimitDetailPage',
  // 下载模板
  DownloadTpl: '/api/v1/quota/mgmt/commonconfig/quotaYearLimit/Template',
  // 导入
  ImportYearQuota: '/api/v1/quota/mgmt/commonconfig/quotaYearLimit/Import',
  // 导出
  ExportYearQuota: '/api/v1/quota/mgmt/commonconfig/quotaYearLimit/export',
  // 新增、编辑年度总配额
  UpdateCustomerYearQuota: '/api/v1/quota/mgmt/commonconfig/quotaYearLimit/saveOrUpdateYearLimit',
  /* 配额考核年度设置 */
  // 列表
  QuotaAssessYearConfigList: '/api/v1/quota/mgmt/commonconfig/quotaAssessSet/queryQuotaAssessSet',
  // 删除考核年度
  DeleteQuotaAssessYear: '/api/v1/quota/mgmt/commonconfig/quotaAssessSet/delAssessSet',
  // 新增、编辑考核年度
  UpdateQuotaAssessYear: '/api/v1/quota/mgmt/commonconfig/quotaAssessSet/saveOrUpdateAssessSet',
  //删除物料
  DeleteStorage: '/api/v1/quota/mgmt/checkStock/delCheckStockDetails',
  //删除盘点单
  DeleteStorageRecord: '/api/v1/quota/mgmt/checkStock/delCheckStocks',
  /* 配额申请 */
  // 配额申请列表
  GetQuotaDealer: '/api/v1/quota/mgmt/quotaApply/getQuotaDealer',
  //获取经销商库存盘点信息
  GetCheckStockInfo: '/api/v1/quota/mgmt/quotaApply/getCheckStockInfo',
  //配额申请获取配额关联的经销商的物料分类列表
  GetProductGroupByDealer: '/api/v1/quota/mgmt/quotaApply/getProductGroupByDealer',
  //经销商物料分类
  GetProductGroupInfo: '/api/v1/quota/mgmt/productGroup/getProductGroupInfo',
  // 保存配额
  SaveOrUpdateQuota: '/api/v1/quota/mgmt/quotaApply/saveOrUpdateQuota',
  // 获取工作流程模板
  GetWorkflowTemplate: '/api/v1/quota/mgmt/workflow/org/template',
  //查询当前经销商可盘点的物料列表
  GetAllmatByDealer: '/api/v1/quota/mgmt/checkStock/getAllmatByDealer',
  //获取审批人
  GetRoleById: '/api/v1/quota/mgmt/checkstoc/workflow/roleId',
  //动销明细
  GetCheckStock: '/api/v1/quota/emp/quotaApply/getMaterialPinData',
  /**库存盘点 */
  //查询片区业务员下所有经销商最新盘点信息列表-分页
  GetDealerCheckStock: '/api/v1/quota/mgmt/checkStock/getDealerCheckStock',
  //经销商库存盘点记录列表
  QueryDealerCheckStockHistory: '/api/v1/quota/mgmt/checkStock/queryDealerCheckStockHistory',
  //查询经销商盘所有品牌公司的盘点周期
  GetInventoryDateByBrandCode: '/api/v1/quota/mgmt/checkStock/getInventoryDateByBrandCode',
  // 根据物料名称/编码模糊搜索物料
  GetMaterialByName: '/api/v1/quota/mgmt/checkStock/getMaterialByName',
  // 经销商库存盘点信息-保存
  CheckStockSave: '/api/v1/quota/mgmt/checkStock/checkStockSave',
  // 审核图片上传
  CheckImgCredentials: 'wxapi/api/v1/user/aliyunoss/credentials',
  // 获取所有销售组织列表
  GetDealerInfo: '/api/v1/quota/mgmt/quotaApply/getDealerInfo',
  // 查询片品牌方对应经销商的盘点开关信息
  GetDealerCheckStockStatus: '/api/v1/quota/mgmt/checkStock/getDealerCheckStockStatus',

  // 配额导入列表
  getQuotaImportList: '/api/v2/quota/mgmt/quotaManage/getManagePage',
  //配额导入展开列表
  geteExpandedQuotaImportList: '/api/v2/quota/mgmt/quotaManage/getPlanList',
  //新增or修改考核计划
  saveOrUpdateQuota: '/api/v2/quota/mgmt/quotaManage/saveOrUpdateQuota',
  //根据品牌公司查询配额品项
  getProdBarList: '/api/v1/quota/mgmt/productGroup/getProductGroupInfoBybrandCode',
  //获取计划表格数据
  getPlanDetail: '/api/v2/quota/mgmt/quotaManage/getPlanDetail',
  //考核计划需要特殊处理额公司
  getSpecialBrandList:'/api/v2/quota/mgmt/quotaManage/getQuotaBrandCodes',

  //维度品牌层次查看片区
  getManageAreaPage: '/api/v2/quota/mgmt/quotaManage/getManageAreaPage',
  //维度品牌层次查看客户
  getManageCustomerPage: '/api/v2/quota/mgmt/quotaManage/getManageCustomerPage',
  //维度考核层次查看片区
  getPlanAreaPage: '/api/v2/quota/mgmt/quotaManage/getPlanAreaPage',
  //维度考核层次查看客户
  getPlanCustomerPage: '/api/v2/quota/mgmt/quotaManage/getPlanCustomerPage',
  //配额导入-导入记录
  getManageImportPage: '/api/v2/quota/mgmt/quotaManage/getManageImportPage',
  //配额导入导入记录-记录详情
  getManageImportDetail: '/api/v2/quota/mgmt/quotaManage/getManageImportDetail',
  //获取考核阶段
  getManageImportStageName: '/api/v2/quota/mgmt/quotaManage/getManageImportStageName',
  //客户年度总配额模版下载
  getOutQuotaAdjustTemplate: '/api/v2/quota/mgmt/quotaManage/quotaYearDealer/Template',
  //客户实际配额模版下载
  getActualTemplate: '/api/v2/quota/mgmt/quotaManage/quotaStageDealer/Template',
  //批量导入实际配额模板下载
  getBatchImportExcelTemplate: '/api/v2/quota/mgmt/quotaManage/quotaStageDealer/prodsTemplate',
  //批量导入根据品牌官司、考核年度获取考核阶段
  getManageProdsPlan:'/api/v2/quota/mgmt/quotaManage/getManageProdsPlan',
  //发起审批导入实际配额
  quotaStageTransmitProdsImport:'/api/v2/quota/mgmt/quotaManage/quotaStageTransmitProdsImport',
  //客户配额调整、客户间调整模版下载
  getCustomersTemplate: '/api/v2/quota/mgmt/quotaManage/quotaReadjustDealer/Template',
  //配额导入-导出已选择得数据
  exportCheckedRecord: '/api/v2/quota/mgmt/quotaManage/getManageExcel',
  //维度品牌层次查看片区excel下载
  downloadManageAreaExcel: '/api/v2/quota/mgmt/quotaManage/downloadManageAreaExcel',
  //维度品牌层次查看客户excel下载
  downloadManageCustomerExcel: '/api/v2/quota/mgmt/quotaManage/downloadManageCustomerExcel',
  //维度考核层次查看片区excel下载
  downloadPlanAreaExcel: '/api/v2/quota/mgmt/quotaManage/downloadPlanAreaExcel',
  //维度考核层次查看客户excel下载
  downloadPlanCustomerExcel: '/api/v2/quota/mgmt/quotaManage/downloadPlanCustomerExcel',

  //配额调整列表页面
  getQuotaAdjustPage: '/api/v2/quota/mgmt/quotaManage/getDetailPage',
  //配额调整-调整记录列表
  getDispatchHistoryPage: '/api/v2/quota/mgmt/quotaManage/getDispatchHistoryPage',
  //配额调整-调整记录列表详情
  getDispatchHistoryById: '/api/v2/quota/mgmt/quotaManage/getDispatchHistoryById',
  //配额调整-调整记录导出
  downloadDispatchHistoryExcel:'/api/v2/quota/mgmt/quotaManage/downloadDispatchHistoryExcel',
  //配额调整-解冻冻结列表页面
  getDetailFrozenPage: '/api/v2/quota/mgmt/quotaManage/getDetailFrozenPage',
  //配额调整-解冻冻结列表详情
  getDetailFrozenById: '/api/v2/quota/mgmt/quotaManage/getDetailFrozenById',
  //配额调整-导出
  exportQuotaAdjust: '/api/v2/quota/mgmt/quotaManage/getDetailPageExcel',
  //冻结解冻记录导出接口
  downloadDetailFrozenExcel: '/api/v2/quota/mgmt/quotaManage/downloadDetailFrozenExcel',
  //配额调整增补、扣减、调剂接口
  saveOrUpdateDispatchHistory: '/api/v2/quota/mgmt/quotaManage/saveOrUpdateDispatchHistory',
  //根据片区code查询客户
  quotaManagegetApplyDetailByCode: '/api/v2/quota/mgmt/quotaManage/getApplyDetailByCode',
  //批量冻结-解冻接口
  batchFreeze: '/api/v2/quota/mgmt/quotaManage/updateQuotaApplyDetail',
  //批量冻结解冻查询可冻结解冻数据接口
  getBatchFrozenDetailPage: '/api/v2/quota/mgmt/quotaManage/getBatchFrozenDetailPage',
  //库存盘点记录增加导出接口
  downloadDealerCheckStockDetailsExcel: 'api/v1/quota/mgmt/checkStock/downloadDealerCheckStockDetailsExcel2',
  //配额调整列表-批量冻结查询-客户编码导入模板下载
  downloadQuotaAgentImportExcel:'/api/v2/quota/mgmt/quotaManage/downloadQuotaAgentImportExcel',

  //客户年度配额模版导入
  quotaYearTransmitImport: '/api/v2/quota/mgmt/quotaManage/quotaYearTransmitImport',
  //客户实际配额模版导入
  quotaStageTransmitImport: '/api/v2/quota/mgmt/quotaManage/quotaStageTransmitImport',
  //客户配额调整、客户间调整模版导入
  quotaReadjustTransmitImport: '/api/v2/quota/mgmt/quotaManage/quotaReadjustTransmitImport',
  //通过角色获取审批人
  getPersonList: '/api/v1/quota/emp/checkstoc/workflow/roleId',
  //查询关联订单
  getQuotaOrderPageNew: '/api/v2/quota/jxspc/myQuota/getQuotaOrderPageNew',
  //库存盘点增加关联订单
  getDealerOrderMaterialByPage: '/api/v1/quota/thirdParty/getDealerOrderMaterialByPage',
  //库存盘点记录新增盘点单
  addCheckStock: '/api/v1/quota/mgmt/checkStock/checkStockSaveNo',
  //库存盘点记录导入盘点单
  importCheckStock: '/api/v1/quota/mgmt/checkStock/checkStockImport',
  ///库存盘点记录下载盘点单模板
  getCheckStockTemplate: '/api/v1/quota/mgmt/checkStock/checkStockMould',
  //库存盘点记录编辑盘点单物料
  editCheckStockDetail: '/api/v1/quota/mgmt/checkStock/updateAndSaveDealerCheckStockDetail',
  //库存盘点记录新增盘点单物料
  saveCheckStockDetail: '/api/v1/quota/mgmt/checkStock/saveDealerCheckStockDetail',
  //库存盘点记录片区code获取经销商列表
  getAgentInfoList: '/api/v1/user/agent/getAgentInfoList',
  //库存盘点记录查看审批流程
  getStocksApprovalProcess: '/api/v1/quota/mgmt/checkstoc/workflow/detail',

  //库存调货
  //库存调货列表接口
  getCheckTransferList: '/api/v2/quota/mgmt/checkTransfer/getCheckTransferList',
  //库存调货删除接口
  delCheckTransfer: '/api/v2/quota/mgmt/checkTransfer/delCheckTransfer',
  //库存调货新增接口
  addCheckTransfer: '/api/v2/quota/mgmt/checkTransfer/addcheckTransferSingle',
  //库存调货编辑接口
  updateCheckTransfer: '/api/v2/quota/mgmt/checkTransfer/updateCheckTransfer',
  //库存调货导出接口
  inventoryTransferExport: '/api/v2/quota/mgmt/checkTransfer/inventoryTransferDownload',
  //库存调货导入接口
  inventoryTransferImport: '/api/v2/quota/mgmt/checkTransfer/checkTransferImport',
  //库存调货获取物料
  getProdNameByBrandCode: '/api/v2/quota/mgmt/checkTransfer/getProdNameByBrandCode',
  //库存调货获取客户
  getDealerList: '/api/v2/quota/mgmt/checkTransfer/getDealerList',

  //库存监控报表
  //库存监控报表列表
  queryDealerInventoryControlPage: '/api/v2/quota/dealer/inventoryControl/queryDealerInventoryControlPage',
  //员工端库存监控报表动销数查询
  queryDealerInventoryControlMoves: '/api/v2/quota/dealer/inventoryControl/queryDealerInventoryControlMoves',
  //配额调整调整记录Excel下载
  downloadDealerInventoryControlExcel: '/api/v2/quota/dealer/inventoryControl/downloadDealerInventoryControlExcel',

  //配额监控报表
  //列表
  dealerQuotaControlPage: '/api/v2/quota/dealer/quotamonitor/dealerQuotaControlPage',
  //导出
  downloadQuotaControlTemplate: '/api/v2/quota/dealer/dealerQuotaControl/downloadQuotaControlTemplate',
  //阶段
  getDealerQuotaPlanList: '/api/v2/quota/dealer/dealerQuotaControl/getDealerQuotaPlanList',

  //库存动销分析报表
  //列表
  stockMoveAnalysisPage: '/api/v2/quota/dealer/stockMoveAnalysisReport/stockMoveAnalysisPage',
  //导出
  downloadInventoryMovingAnalysis: '/api/v2/quota/dealer/stockMoveAnalysisReport/downloadInventoryMovingAnalysis',

  //库存动销实时报表
  //列表
  stockMoveActualPage: '/api/v2/quota/stock/actual/stockMoveActualPage',
  //导出
  downloadStockMoveActualTime: '/api/v2/quota/stock/actual/downloadStockMoveActualTime',

  //实时报表
  getStockMoveStatistics: '/api/v2/quota/stock/actual/getStockMoveStatistics',

  quotaRetry: '/api/v2/quota/mgmt/quotaManage/quotaRetry',

  /**获取所有物料 */
  getMaterialByName2: '/api/v1/quota/dealerXCX/checkStock/getMaterialByName2',

  /**新增经营品项 */
  addOrUpdateOperatingMain: '/api/v2/quota/operatingMain/addOrUpdateOperatingMain',

  /**删除经营品项 */
  deleteOperatingItemsById: '/api/v2/quota/operatingMain/deleteOperatingItemsById',

  /**经营品项列表 */
  getOperatingMainPage: '/api/v2/quota/operatingMain/getOperatingMainPage',

  getMyAllmatByDealer: '/api/v1/quota/mgmt/checkStock/getMyAllmatByDealer ',

  getMyInventoryDateByBrandCode: '/api/v1/quota/mgmt/checkStock/getMyInventoryDateByBrandCode',

  /**扫码率报表 */
  getScanRatePage: '/api/v2/quota/scanRate/getScanRatePage',
  /**通过id盘点记录详情 */
  getCheckStockDetail: '/api/v1/quota/mgmt/checkStock/getCheckStockDetail',
}
